/**
 * ui 库
 */
import Vue from 'vue'

// avue + element-ui
import 'element-ui/lib/theme-chalk/index.css';
import '@smallwei/avue/lib/index.css';
import Element from 'element-ui';
import AVUE from '@smallwei/avue';
import i18n from "@/lang";


Vue.use(Element, {
    i18n: (key, value) => i18n.t(key, value)
});
Vue.use(AVUE, {
    i18n: (key, value) => i18n.t(key, value)
});